❕Set Default Priority for Tasks
(14 actions, 15 KB)
0 DataJar > GetValueIntent »
1
3
keyPath
:
My Reminders.taskLists
1 Repeat with Each in
[0 Value
as Dictionary’s Keys
]
2 Run Shortcut
_Filter Reminder Lists
»
4
Input
:
[Repeat Item]
Workflow
:
{ "workflowIdentifier": "51A51D7D-F81D-496D-9074-3B3D2F68CE9E", "workflowName": "_Filter Reminder Lists", "isSelf": false }
3 Get Dictionary Value for
[Repeat Item]
.defaultPriority
in
[0 Value]
➔ defaultPriority
»
7
11
4 Find Reminders »
5
9
ContentItemFilter
:
• All the following are true List is
[2 Shortcut Result]
Is Not Completed
5 Find Reminders »
ContentItemFilter
:
Priority is None
6 Repeat[2] with Each in
[5 Reminders]
7
Set
Priority
of Reminder
[Repeat Item 2]
ReminderContentItemTitle
:
[? If Result]
ReminderContentItemPriority
:
[3 defaultPriority]
8 End Repeat[2] with Each
9 Find Reminders »
ContentItemFilter
:
Priority is None
10 Repeat[2] with Each in
[9 Reminders]
11
Set
Priority
of Reminder
[Repeat Item 2]
ReminderContentItemTitle
:
[? If Result]
ReminderContentItemPriority
:
[3 defaultPriority]
12 End Repeat[2] with Each
13 End Repeat with Each ▵
1